home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-01 | 1.9 KB | 66 lines | [TEXT/ttxt] |
- // Persistence of Vision Raytracer
- // This datafile is designed as a "root" datafile for the output
- // generated by the program POVSUDS.EXE. The name of the #include file
- // containing the "suds" data must be changed to match your filename.
- #INCLUDE "colors.inc"
- #INCLUDE "shapes.inc"
- #INCLUDE "textures.inc"
-
- #declare SudsObject = OBJECT {
-
- // Note: you could substitute any of the following, or more:
- // INTERSECTION { Cube }
- // INTERSECTION { Z_Disk }
- // also, cone segments, hexagons, teapots, etc.
- // if you've got enough time.
-
- SPHERE { <0 0 0> 1 }
- // color Magenta
- // TEXTURE {
- // Chrome_Texture
- // }
- }
-
- #declare suds0 = TEXTURE { Chrome_Texture }
- #declare suds1 = TEXTURE { Brass_Texture }
- #declare suds2 = TEXTURE { Blue_Sky }
- #declare suds3 = TEXTURE { Shiny }
- #declare suds4 = TEXTURE { Mirror }
- #declare suds5 = TEXTURE { Gold_Texture }
- #declare suds6 = TEXTURE { Silver_Texture }
- #declare suds7 = TEXTURE { Rusty_Iron }
- #declare suds8 = TEXTURE { Candy_Cane }
- #declare suds9 = TEXTURE { Water }
- #declare suds10= TEXTURE { Jade }
-
- #include "suds.inc" // NOTE: Change this line accordingly
-
- VIEW_POINT {
- location <0 0 -700>
- direction <0 0 1>
- up <0 1 0>
- right <1.33333 0 0>
- look_at <0 0 0>
- }
-
- // I am using three light sources here, one, white and two, colored.
- // You may wish to change these, even elimate the two colored ones
- // completely, at least during the debugging phase.
- OBJECT { // BLUE light
- light_source { <50 65 -1500> colour RichBlue}
- TEXTURE { ambient 1 diffuse 0 colour White }
- }
- OBJECT { // WHITE light
- light_source { <0 -100 -5000> colour White }
- TEXTURE { ambient 1 diffuse 0 colour White }
- }
-
- OBJECT { // VIOLET RED light
- light_source { <-150 -165 -1500> colour VioletRed }
- TEXTURE { ambient 1 diffuse 0 colour White }
- }
-
- COMPOSITE { Suds
- // rotate <30 0 0> // to place on x/z PLANE
- }